package cn.com.cifi.mars.bean.vo.supply;

import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * @author yyd
 */
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "项目数据汇总VO", description = "项目数据汇总VO")
public class ProjectMonthValueVO implements Serializable {

	private static final long serialVersionUID = 1L;
	
	private String name;
	
	private Integer roomNum;
	
	private Integer parkingNum;
	
	private BigDecimal saleArea;
	
	private BigDecimal housePrice;
	
	private BigDecimal parkingPrice;
	
	private Integer actualRoomNum;
	
	private Integer actualParkingNum;
	
	private BigDecimal actualArea;
	
	private BigDecimal actualHousePrice;
	
	private BigDecimal actualParkingPrice;

	public int getRoomNum() {
		if(roomNum == null) {
			roomNum = 0;
		}
		return roomNum;
	}

	public void setRoomNum(int roomNum) {
		this.roomNum = roomNum;
	}

	public int getParkingNum() {
		if(parkingNum == null) {
			parkingNum = 0;
		}
		return parkingNum;
	}

	public void setParkingNum(int parkingNum) {
		this.parkingNum = parkingNum;
	}

	public BigDecimal getSaleArea() {
		if(saleArea == null) {
			saleArea = BigDecimal.ZERO;
		}
		return saleArea;
	}

	public void setSaleArea(BigDecimal saleArea) {
		this.saleArea = saleArea;
	}

	public BigDecimal getHousePrice() {
		if(housePrice == null) {
			housePrice = BigDecimal.ZERO;
		}
		return housePrice;
	}

	public void setHousePrice(BigDecimal housePrice) {
		this.housePrice = housePrice;
	}

	public BigDecimal getParkingPrice() {
		if(parkingPrice == null) {
			parkingPrice = BigDecimal.ZERO;
		}
		return parkingPrice;
	}

	public void setParkingPrice(BigDecimal parkingPrice) {
		this.parkingPrice = parkingPrice;
	}

	public int getActualRoomNum() {
		if(actualRoomNum == null) {
			actualRoomNum = 0;
		}
		return actualRoomNum;
	}

	public void setActualRoomNum(int actualRoomNum) {
		this.actualRoomNum = actualRoomNum;
	}

	public int getActualParkingNum() {
		if(actualParkingNum == null) {
			actualParkingNum = 0;
		}
		return actualParkingNum;
	}

	public void setActualParkingNum(int actualParkingNum) {
		this.actualParkingNum = actualParkingNum;
	}

	public BigDecimal getActualArea() {
		if(actualArea == null) {
			actualArea = BigDecimal.ZERO;
		}
		return actualArea;
	}

	public void setActualArea(BigDecimal actualArea) {
		this.actualArea = actualArea;
	}

	public BigDecimal getActualHousePrice() {
		if(actualHousePrice == null) {
			actualHousePrice = BigDecimal.ZERO;
		}
		return actualHousePrice;
	}

	public void setActualHousePrice(BigDecimal actualHousePrice) {
		this.actualHousePrice = actualHousePrice;
	}

	public BigDecimal getActualParkingPrice() {
		if(actualParkingPrice == null) {
			actualParkingPrice = BigDecimal.ZERO;
		}
		return actualParkingPrice;
	}

	public void setActualParkingPrice(BigDecimal actualParkingPrice) {
		this.actualParkingPrice = actualParkingPrice;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "ProjectMonthValueVO{" +
				"name='" + name + '\'' +
				", roomNum=" + roomNum +
				", parkingNum=" + parkingNum +
				", saleArea=" + saleArea +
				", housePrice=" + housePrice +
				", parkingPrice=" + parkingPrice +
				", actualRoomNum=" + actualRoomNum +
				", actualParkingNum=" + actualParkingNum +
				", actualArea=" + actualArea +
				", actualHousePrice=" + actualHousePrice +
				", actualParkingPrice=" + actualParkingPrice +
				'}';
	}
}
